package team.headnurse.nursemanagement.model;


import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author Eugene-Forest
 */

@Entity
@Table(name = "Person_Information")
public class PersonInformation {

  @Id
  private String staffId;

  private String name;
  private String sex;
  private String position;
  private String departmentId;
  private String email;
  private int workingAge;
  private int annualLeave;

  public PersonInformation() {

  }
  public PersonInformation(String staffId, String name, String sex, String position, String departmentId, String email, int workingAge, int annualLeave) {
    this.staffId = staffId;
    this.name = name;
    this.sex = sex;
    this.position = position;
    this.departmentId = departmentId;
    this.email = email;
    this.workingAge = workingAge;
    this.annualLeave = annualLeave;
  }

  public String getStaffId() {
    return staffId;
  }

  public void setStaffId(String staffId) {
    this.staffId = staffId;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public String getSex() {
    return sex;
  }

  public void setSex(String sex) {
    this.sex = sex;
  }


  public String getPosition() {
    return position;
  }

  public void setPosition(String position) {
    this.position = position;
  }


  public String getDepartmentId() {
    return departmentId;
  }

  public void setDepartmentId(String departmentId) {
    this.departmentId = departmentId;
  }


  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }

  public int getWorkingAge() {
    return workingAge;
  }

  public void setWorkingAge(int workingAge) {
    this.workingAge = workingAge;
  }

  public int getAnnualLeave() {
    return annualLeave;
  }

  public void setAnnualLeave(int annualLeave) {
    this.annualLeave = annualLeave;
  }
}
